#pragma once

#define NUM 1024

typedef struct _MY_FILE
{
    int fileno;
    char buffer[NUM];
    int end;
}MY_FILE;

MY_FILE* my_fopen(const char* path, const char* made);
int my_fclose(MY_FILE* fp);
int my_fputs(const char* s, MY_FILE* stream);
int my_fflush(MY_FILE* stream);
int my_printf(const char* format);
int my_fprintf(MY_FILE* stream, const char* format);